package com.beamfield.dao.steelplant;

import com.beamfield.model.SteelplantProductPlan;
import com.beamfield.modelVo.SteelplantProductPlanVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SteelplantProductPlanMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SteelplantProductPlan record);

    int insertSelective(SteelplantProductPlan record);

    SteelplantProductPlan selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SteelplantProductPlan record);

    int updateByPrimaryKey(SteelplantProductPlan record);

    List<SteelplantProductPlan> selectByBeamId(Long beamId);

    int deleteByBeamId(Long beamId);

    List<SteelplantProductPlanVO> selectPage(@Param("offset") String offset,@Param("limit") String limit,@Param("beamId") Long beamId);

    long countPage(Long beamId);
}
